package com.ruoyi.im.domain;

import com.ruoyi.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 好友申请表 im_friend_application
 * 
 * @author ruoyi
 * @date 2018-11-06
 */
public class FriendApplication extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long id;
	/** 验证信息 */
	private String validationMessage;
	/** 申请人id*/
	private Long applicantId;
	/** 备注*/
	private String remarks;
	/**分组id */
	private Long groupId;
	/** 被申请人*/
	private Long claimantId;
	/** 状态*/
	private Integer status;

	private Integer applyType;//申请类型（1：加好友确认，2：加群确认）

	private Long groupsId;//申请加入群id

	private String groupName;//群名称
	private String groupRemarks;//群备注

	private String userNickname;//用户昵称
	private Integer age;//年龄
	private String logo;//用户头像
	private String sex;//性别
	private String addTime;//申请时间
	private String memberId;

	public String getAddTime() {
		return addTime;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getUserNickname() {
		return userNickname;
	}

	public void setUserNickname(String userNickname) {
		this.userNickname = userNickname;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getGroupRemarks() {
		return groupRemarks;
	}

	public void setGroupRemarks(String groupRemarks) {
		this.groupRemarks = groupRemarks;
	}

	public Long getGroupsId() {
		return groupsId;
	}

	public void setGroupsId(Long groupsId) {
		this.groupsId = groupsId;
	}

	public Integer getApplyType() {
		return applyType;
	}

	public void setApplyType(Integer applyType) {
		this.applyType = applyType;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setValidationMessage(String validationMessage) 
	{
		this.validationMessage = validationMessage;
	}

	public String getValidationMessage() 
	{
		return validationMessage;
	}
	public void setApplicantId(Long applicantId) 
	{
		this.applicantId = applicantId;
	}

	public Long getApplicantId() 
	{
		return applicantId;
	}
	public void setRemarks(String remarks) 
	{
		this.remarks = remarks;
	}

	public String getRemarks() 
	{
		return remarks;
	}
	public void setGroupId(Long groupId) 
	{
		this.groupId = groupId;
	}

	public Long getGroupId() 
	{
		return groupId;
	}
	public void setClaimantId(Long claimantId) 
	{
		this.claimantId = claimantId;
	}

	public Long getClaimantId() 
	{
		return claimantId;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("validationMessage", getValidationMessage())
            .append("applicantId", getApplicantId())
            .append("remarks", getRemarks())
            .append("groupId", getGroupId())
            .append("claimantId", getClaimantId())
            .append("status", getStatus())
            .toString();
    }
}
